package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.company.project.entity.BaseEntity;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * ${comments}
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2022-06-06 12:37:51
 */
@Data
@TableName("a_attend_record")
public class AAttendRecordEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	@TableField(fill = FieldFill.INSERT)
	private Integer deleted;
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	/**
	 * 缴费学生名称
	 */
	@TableField("student_name")
	private String studentName;

	/**
	 * 缴费班级名称
	 */
	@TableField("class_name")
	private String className;

	/**
	 * 关联活动名称
	 */
	@TableField("active_name")
	private String activeName;

	/**
	 * 学生id
	 */
	@NotNull(message = "请输入学生ID")
	@TableField("student_id")
	private Integer studentId;

	/**
	 * 班级id
	 */
	@TableField("class_id")
	private Integer classId;

	/**
	 * 活动id
	 */
	@NotNull(message = "请输入活动ID")
	@TableField("active_id")
	private Integer activeId;


}
